import { request } from 'umi';

/**
 * 查询录像
 */
export const videoRecordList = (
  server: string,
  params: {
    [key: string]: any;
  },
) => {
  return request<any>(`${server}/api/videoPlayback/getVideoRecordList`, {
    params,
    getResponse: true,
  });
};
/**
 * 删除
 */
export const deleteRecordFile = (
  server: string, 
  ids: String,
  type: String
) => {
  return request<any>(`${server}/api/videoPlayback/deletedVideo?ids=` + ids + "&type=" + type);
};
